package com.motiontheory.inttest;

public class MockUserData
{
    private String username;
    private String password;
    private String email;
    private String tagline;

    public MockUserData ()
    {
        this.username = null;
        this.password = null;
        this.email = null;
        this.tagline = null;
    }
    public MockUserData (String name, String pass, String e_mail, String tag_line)
    {
        this.username = name;
        this.password = pass;
        this.email = e_mail;
        this.tagline = tag_line;
    }

    public String getUserName ()
    {
    	return username;
    }
    public void setUserName ( String userName )
    {
    	this.username = userName;
    }

    public String getPassword ()
    {
    	return password;
    }
    public void setPassword ( String pass )
    {
    	this.password = pass;
    }
    
    public String getEmail ()
    {
    	return email;
    }
    public void setEmail ( String e_mail )
    {
    	this.email = e_mail;
    }

    public String getTagline ()
    {
    	return tagline;
    }
    public void setTagline ( String tag_line )
    {
    	this.tagline = tag_line;
    }
    
    public String toJson(){
    	String jsonForm = "{\"userData\":{\"username\":\"" + getUserName() +
    			"\",\"password\":\"" + getPassword() +
    			"\",\"email\":\"" + getEmail() +
    			"\",\"tagline\":\"" + getTagline() +
    			"\"}}";
    	return jsonForm;
    }


}